// WizardButton.cpp : implementation file
//

#include "stdafx.h"
#include "ansieditor.h"
#include "WizardButton.h"
#include "WizardPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CWizardButton

CWizardButton::CWizardButton()
{
}

CWizardButton::~CWizardButton()
{
}


BEGIN_MESSAGE_MAP(CWizardButton, CButton)
	//{{AFX_MSG_MAP(CWizardButton)
	ON_WM_SETFOCUS()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWizardButton message handlers

void CWizardButton::OnSetFocus(CWnd* pOldWnd) 
{
	GetParent()->SendMessage(WM_WizardButtonSetFocus, (WPARAM)pOldWnd->GetSafeHwnd());
	CButton::OnSetFocus(pOldWnd);
}
